/* Modifications for the Light and Boxed document layouts */
.article.o_report_layout_standard.o_company_1_layout, .article.o_report_layout_boxed.o_company_1_layout {
    > .pt-5 {
        > .address.row {
            width: 100% !important;
            height: 62mm !important;
            line-height: 1.1em;
            margin-top: -13mm;
            > div[name="address"] {
                padding-top: 5mm;
            }
        }
    }
}

/* Modifications for Clean document layouts */
.article.o_report_layout_clean.o_company_1_layout {
    > .address.row {
        width: 100% !important;
        height: 62mm !important;
        line-height: 1.1em;
        > div[name="address"] {
            padding-top: 15mm !important;
        }
    }
}
/* Modification for background document layouts */
.o_company_1_layout.article.o_report_layout_background {
    > .address.row {
        background-color: #ffffff !important;
        width: 103% !important;
        height: 62mm !important;
        line-height: 1.1em;
        > div[name="address"] {
            padding-top: 8mm !important;
        }
    }
}

div .address.row > div[name="address"] {
    position: relative !important;
    width: 103mm !important;
    background-color: #ffffff;
    > address {
		width: 100% !important;
		position: absolute !important;
		bottom: 0 !important;
		padding-left: 3mm;
		padding-top: 3mm;
        height: 33mm;
		max-height: 33mm;
    }
}
